Use Core API v1
Merge pull request #371 from Rise-Vision/feature/core-api-v1

Use Core API v1
use gulp-inject to move js file references into gulpfile

- Better userState existential test
- Get rid of unused userState dependencies