Added error reporting to <foam> tag initialization.
Merge branch 'master' of https://github.com/foam-framework/foam