Added init method to api
Added init method to api

refs https://github.com/TryGhost/members.js/issues/5

- renamed default function name
- Adds `init` method to api for fetching site data and member session data together
- Update site url from site data to remove window.location.origin dependency in case of iframe

TryGhost/Ghost,TryGhost/Ghost,TryGhost/Ghost