Change --spec to use only base file name
Detail of discussion is in #485
* --spec accept only base file name
* only check spec file in working copy if --include-all is given,
otherwise check in commit
* if gbs want to parse spec file, it must parse the correct
version that in --commit(default HEAD)
* unify --spec for all subcommands
- ch: use the spec given first
- rb: --include-all means to use work copy, otherwise checkout
spec in some revision to parse
- lb: check only one project is about to build and
pass --spec directly to depanneur
* add several helper functions
- show_file_from_rev: cat file content from given rev
- file_exists_in_rev: check whether file exist in given rev
- glob_in_rev: glob file pattern in given rev
Change-Id: I0621634b50ddedf65eab3c41db4d6f537194b345