Implement package configuration

This implements the new package configuration scheme, as described in https://github.com/systemjs/systemjs/issues/141.