OSX compatiblity + restructure

New structure and more rigid CMake files.
Autofinds Maya installs.
Able to compile on OS X as well as Windows.