Added project application first steps

Users can now apply for a project in browser, sending an email to
project owner. Next step forthcoming.
Moved dbaccess to align with server structure
Added a security file with some functions for validating input...should
be improved as time goes on

BETTER ERROR CHECKING AND MESSAGES NEED TO BE ADDED TO THESE FILES