Cleaned the logic to find the autoloader

When installing ocular as a dependency of the project, the autoload file should be looked for based on the path where ocular gets installed.
Relying on getcwd would limit the support to projects using the default name for the vendor folder and calls done from the root of the project