Refactor checking for plugins into a helper function in `platformUtils`
Github issue - https://github.com/aerogear/aerogear-js-sdk/issues/95