Added the scripts directory to lua's path

This will allow modules.
Moved the debug island into a module
Moved heartbeat code to ServerApplication::CheckClientConnections()
Merge branch 'develop'