OS X: implemented controlled run loop
added luce_core
added luce_core to projects
logic
refactored closeWindow/deleteWindow to accept a second parameter:
quitIfLastWindowClosed, usefull linux, windows and OS not
supporting multiple instances also, like iOS
LJUCEApplication: changed Array to an OwnedArray
LJUCEApplication: fixed: crash with mingw/windows when cleaning: can't cast from Component to LJComponent because LDocumentWindow doesn't inherit LJComponent
TODO
Luce/initialisation: call LJUCEApplication shutdown() when in controlled loop
notes
LJUCEApplication: made a callback of :shutdown, called after our own stuff
Main:

- call luce shutdown when loop ends,
  except for Android, where it has to be called manually due to the main
  loop being managed by Android itself

- cleaned up dead code
iOS: prepared controlled main loop integration