Fix save. Read full description for details

Saving/loading projects is now properly managed.
Some important points to keep in mind during the developpement process:
- QSettings saves data whenever it wants to (usually instantly). Use
  sync to be sure it does
- ProjectSingleton is responsible of managing the saving process
  Make sure all widgets that are affected by the save are registered to
  the proper slots (projectChanged...)