browser / cordova detection... not working properly
improved demo app and environment detection, added apache license information
design, info in demo app