Added handling of repositories containing the addon in addon-id subdirectory

Like the title says.

IMO we should allow this, this makes it possible it to have unrelated files (like todo.txt, readme.md, .gitignore, ...) in the developer repo but not in the add-on repo.

@MartijnKaijser @ronie (anyone missing?)

Opinions?