Sunday night out of gas

More functions working, tests for all functions. Need to figure out
Travis value to get liboauth built on Travis image to stop failing