General cleaning and compatibility improvements

Cleaned up include URL’s so they will work on local and production.
Fixed being able to see the registration page and reset password page
when the user is logged in. Also added .htacess files in /included/,
/classes/, /tools/, and /config/ to prevent direct access to the files,
as they should only be included in other files.