Barely make appartment parsing work

The code is still really ugly.  There is a lot of refactoring that needs
to be done, but the project is basically done.

Main refactoring:

- Remove dependency setup duplication in index.php and cli.php
- Modularize DOM parsing and urls for easy switchout as they are likely
  to break a lot
- Clean up dependency injection (shouldn't all go in one big file)
- Come up with a better name the "Complex" it is a really bad name