Consistently encode Resources and BNodes as internal ids in indexes.
Fixes to web app ontology tree and search functions (Still needs
more work). With test fixes.
Merge branch 'master' of git.corp.yahoo.com:tep/Glimmer
Merge pull request #3 from Timpy/master

Missing test fixes.