Coding style fixes

This is an attempt to make the coding style of this module cleaner and more conformant with the general puppet coding style.

Feel free to add comments if there's something more that we could fix within this PR.

I also added .project file which adds metadata for Geppetto. Is it OK to keep this file within the module?