Update main.js to use popup presenter

Ran into issue with browserify, fs and brfs
We cannot load in files at run time, the path
to loaded resources must be present at build time.

Consequently, we need to provide an asset manager that
reads all assets at build time to make them available
at run time
Update popupPresenter to use assetManager
Fix assetManager not being instantiated
Merge pull request #5 from mediasuitenz/update/mainjs_to_use_popup_presenter_TMP-18

Update/mainjs to use popup presenter tmp 18
Add mocha-given to test setup
Add layerStylePresenter and tests
Fix test setup
Update layerStylePresenter to clean up strings
Refactor layerStylePresenter and add documentation
Fix spelling mistake :P