Fix test after PR #517

Also re-write feature inventory generator to use angular.js to generate better report.