check for the availabilty of chrome apis

Add an error message when trying to run a chrome app and the management APIs are not available. Address part of issue https://github.com/dart-lang/chromedeveditor/issues/2993. TBR. @gaurave