Fix test after PR #517

Also re-write feature inventory generator to use angular.js to generate better report.
Can we use lombok for this and many of the little methods below?