another days changes

Created api_login_test.php to test the login() and APILoginCheck()
methods.
Moved the Username, apikey, and output variables for the API to the
construct for the API class.
Fixed the locate API.
Removed the constants read from the INI class, no need for it.
Removed the last_active field from the users table.
Added user_login_hashes insert to Login().
API index now shows all version info.