Add support for nested dirs inside src/

When having nested directories (for instance `src/protocol/tm_proto.erl`)
autocompilation would fail. This fix adds the abspath of all depdencies to
the codepath and sets compile option {i, _} to support both `lib/ and `deps/`.