added api routes
Added API subapps for resources (documents) + wayback machine
- /api redirects /api/v1/
- /api/v1/ renders template/api.html documentation
- fixed login username + karms (always displayed mek)