Make our settings file an example

This will make sure we don't overwrite settings when upgrading.
Cleaner API.php, also gives bad response code now
Merge pull request #5 from mmn/master

Settings file should be an example, and API.php cleanup