New scripts

Added a new register.php, authenticate.php, and connect.php, and
standardizes the two digit binary number system for determining
connection, query, and other statuses from within the script and
passing the data to the iOS application. Additionally, removed
insecurities with passing un-hashed passwords through the urls of the
scripts.