Changed var name $type to $mode and corresponding functions
Merge http://github.com/ericmcdaniel/surrogate

Conflicts:
	src/Ericmcdaniel/Surrogate/Surrogate.php