For this animation I used the blender testbuild for version 2.72. To my delight you can use freestyle with cycles without any layering or scene tricks.
you can download the blend file here
Animation Node experiment - transformation
How To render freestyle lines on a second Renderlayer using cycles