Let's call subproject a resource

Subproject name was always quite confusing and I think resource is
better match here.

Signed-off-by: Michal Čihař <michal@cihar.com>