More package work.
Merge branch 'master' of github.com:foam-framework/foam
Fix for Safari detection.
Switched to new MODEL() with package support.