Keep track of when the main is loaded

This adds a property to the loader so that we know when the main
bower.json has been loaded. This is needed because we want to only set
the `paths` for non-mains.
Merge pull request #12 from bitovi/track-main

Keep track of when the main is loaded