Increasing efficiency of RestyAuthenticator

Small refactor of RestyAuthenticator (to be continued):
- Synchronized addSite() method.
- Added Null check for URI passed in to addSite()
- Created constructor for Site object.
- Synchronized addRealm() method.