Line ending normalisation

and a clean new slate
Initial commit

* Added middleclass
* Added PreferenceManager
* Added api/loadHandlingsFromFile(path)
* Added cores for client and server
* Added data files
* Added shared utilities
* Added default settings
Fixed spacing in PrefManager.lua
Improved documentation in core.lua

also added some other stuff that may be removed like garbage collection and size of memory
Merge branch 'master' into 0.3