Transcribed old wiki information to api.jade

Old API wiki page information has been transcribed into api.jade (as requested https://github.com/HabitRPG/habitrpg/wiki/API and https://habitrpg.com/static/api), as well as copied to http://habitrpg.wikia.com/wiki/API.