Auth encryption with test and travis

This includes tests and functions for one way encryption of a password and the creation of a salt. It also contains a function to compare a plaintext password against a hashed password.

If you want travis to run for your master, follow instructions under "Activate Github Service Hook" here: Activate GitHub Service Hook