Adds OAuth athentication support

Adds OAuth authentication support for Trello and Github. Other providers can be added later. Funtionality not verified yet.