Make the tarball finding function more generic

Signed-off-by: Jani Monoses <jani@ubuntu.com>
Fix doc

Signed-off-by: Jani Monoses <jani@ubuntu.com>
Add custom tarball support and some docs

Signed-off-by: Jani Monoses <jani@ubuntu.com>