Add Blueprint.lookup

Also annotate blueprint.js to aid refactoring