Add the alias function, with tests
Merge pull request #53 from snapshotmedia/issue-52

Add the alias function, with tests
Bumped the version numbers to v4.2.2.
Removed some spaces in the alias JSDoc.

It makes the comment look a lot nicer, but it might mess up the
generated documentation. I'm just keeping it the same as all of the
other JSDoc strings for now.
Joined the alias JSDoc into one line.

I prefer the 80 character limit, but again, I think it will mess with
the generated documentation.
Assigned alias to the private API.

So it will not pollute the public API documentation.
Named the returned alias function.

Just makes it nice and easy to see what function is what. You don't want
your application to get into a state where you have layers and layers of
unnamed functions. It's really difficult to work out where you are in
the execution. At least naming these closures gives you an idea as to
where you are in the stack.
Added spaces after function, before parens.

Silly JSLint stuff.
Removed useless comment and improved module check.

Now it checks if module is an object, and not !undefined.
Built version v4.2.2.
Merge branch 'release/4.2.2'