Detect the correct Composer autoloader

Pull request for issue #10. Feedback would be appreciated.