OAuth login

@JeroenDeDauw could you have a look at this? Please ignore everything under `/libphutil`. It's kind of a pain but I had to check it in since they do not support composer...
What coding standard are you following? PSR-2? Kinda odd to have brackets on the end of the line for classes but put them on the next line for functions,