Switch to composer for autoloading.

Removes existing custom autoloader and use composer to generate an autoloader.
@tsteur and I talked about this. I think it's too hard to test a change right now just for removing one line and not related to autoloading, so it can be part of some other refactoring.