Include library code as a dependency.

The CLI app should only contain code and dependencies related to making this function.
Fix tests

- Readd MockGenerator class and use autoloading to get it.
- Readd bootstrap to enable autoloading for tests.
Remove PHPVCR.

It is not relevant for testing the console app.

Update composer.lock accordingly.
Remove references to lib folder in phpunit config.

It is now obsolete in the CLI app.
Merge branch 'vakopian-remove-lib' into 3.x