Fixed wrong variable type for sprintf.
Added test cases and code to prevent shared classes being aliased or aliased classes being shared as the original class. Sharing by an object name and then aliasing is allowed, as is aliasing and then sharing by an object name.
Add check that class made is correct type.
Merge branch 'preventBadCommands' of git://github.com/Danack/Auryn into Danack-preventBadCommands

Conflicts:
	src/Auryn/Provider.php