Split up into modules. JSON model output working.

Problem is that I must determine if the object is visible or not, and
don't know how to do that. Question asked here:
http://forum.freecadweb.org/viewtopic.php?f=22&t=6253

Split it up into modules but the dependencies are getting a little
messy, being listed in multiple files.