Update README to document new API
Stop passing URL and aliasof into lib, revise explanatory comment
Merge branch 'master' of github.com:Financial-Times/polyfill-service into readme-update
Improve README
Grunt is no longer a dependency
Add tests the the aliases.  This change makes sure only a single resolver can be initialised rather than giving the ability to instantiate multiple modules.  Initialise takes the dictionary of aliases that are built from the config.json's.  This change also ensures flags and aliases are applied when duplicates are found
The data passed into initialise is only used by one of the resolver functions. You could argue that the resolver function should be injected along with the alias dictionary, however for the sake of simplicity here we'll just inject the data and associate the name of the resolve function with the data injection function
Remove redundant doc block comment
Add a better explaination to flatMap
aliasOf should already be an array by this point. This change acknowledges the fact and does not create a new array if the aliasOf property already exists.
Move the logic for cascading flags and aliases into the alias module.  You can now add a resolution function that maps a name to potentially many names using a chained API
Add test that asserts that only the original alias is included as part of a resolved polyfill identifier, not intermediate aliases
Update documentation, and try and make naming more consistent
Merge pull request #48 from Financial-Times/readme-update

New Readme
Merge branch 'master' into bundle-header
Merge pull request #50 from Financial-Times/rebase_alias_refactor

Rebased alias refactor
Merge branch 'master' into bundle-header

Conflicts:
	lib/aliases.js
The resolution function must ensure that it returns an array or errors start to occur, if an alias doesn't exist it must return an array passing through the name it was supplied as the only element in the array (indicating that no alias was expanded), this also merges in the changes to the name of the AliasResolver.resolve method correctly
Remove console log
Remove explicit maybe flag ('maybe' inclusion is implicit and the flag is no longer used)