Use prepared statements for queries with user supplied data.

Remove email collection feature and replace with signup form
on front page. Removed signup page. Remove emails.php and
from install script.

Get rid of magic numbers in signup process.

Remove hardcoded paths from code to allow install in any dir.