Updated SDK version in development to 1.2.2
Added custom user agent and fixed a bug with redirect uri
Merged master into development