Started rebuild using OAuth2 Draft 31

Complete rebuild started from scratch. Still need some cleaning up with
package names and class names as this was started as a mobile sessions
project at first