Implement System.normalize and System.resolve

Comments please, goal is enough to get started on .js change.