the project file writer now writes entities in alphabetical order.
build system tweaks: require CMake >= 2.8.8 (first version to define PYTHONLIBS_VERSION_STRING), and link against librt on Linux to resolve undefined reference to clock_gettime(3).