Use mime package.

I cleaned up the tests, switched the code to use the mime package, and commented out the decodeURI tests that fails.  Everything is working great with Node 0.10.x now.