Check for numeric instead of not false
Merged the internal API and external API into one

Since Dandelion is transforming into a separate API-centric entity,
the purpose of the internal api isn't as strong as previously
thought. The authentication system will continue to be the main
way to interact with the API via an authentication token. There may
also be a few modules that are only accessable via authtoken. But
it's simple enough to combine the APIs and determine the processing
procedure by the data that's sent with the request. Also the 'public'
API will be disabled by default.