Added the waypoint system to the modules

Also fleshed out entity_api.cpp, but that's just filler.
Removed ManagerInterface, it was a bad idea
Added trigger reference to WaypointData, unused

WaypointData also inherits from Entity now, so I could alias Entity's API
for it too. I've also made a number of comment tweaks.
Updated room system and room API, more to come

There's a lot of verbosity in the scripts, so it might be beneficial to
redice that at some point.
Updated the map system & APIs
HOTFIX: Incorrect error code checked
Merge branch 'develop'