beesh: print info message about extracted patch files

this fixes issue #186
Merge branch 'issue-186' of https://github.com/ruester/bee

* 'issue-186' of https://github.com/ruester/bee:
  beesh: print info message about extracted patch files
beelib.config: fix typo
beelib.config: fix config_load_local_config()

do not stop path traversing if mp_last is uninitialized
Merge branch 'fixes' of git://github.com/tewdreyer/bee

* 'fixes' of git://github.com/tewdreyer/bee:
  beelib.config: fix config_load_local_config()
  beelib.config: fix typo
bee-cache: Fix bug when --tmpinstall is pointing to local directory

Only care about regular files when tmpinstalling...
Merge branch 'fixes'

* fixes:
  bee-cache: Fix bug when --tmpinstall is pointing to local directory
Revert "beesh: Disable check_rebuild"

This reverts commit 7a80856ea3d14da172d5d43dd240cab75b3cc065.

Reenable check_rebuild to prevent messing up the repository.

Since this happend recently it is better to have this check and complain.
beesh: improve warnings in check_rebuild
beesh: Fix missing redirect of error message
beesh: use add_sourcesubdir to specify a source subdirectory

..to use when auto detecting buildtypes.

Sometime packages "hide" the sourcetree in a subdirectory you normaly have to
change to before executing the configure phase.

specify

add_sourcesubdir src

or

add_sourcesubdir cmake

in the bee file to enable this feature.

TODO: check how this relates to build_in_sourcedir
buildtypes: enable add_sourcesubdir for the cmake buildtype
Merge branch 'add_sourcesubdir'

* add_sourcesubdir:
  buildtypes: enable add_sourcesubdir for the cmake buildtype
  beesh: use add_sourcesubdir to specify a source subdirectory
bee-init: Add options --pkgextraname and --pkgprefix

Add options --pkgextraname and --pkgprefix to influence naming of bee-files.
beecut: exit if getopt_long_only returns an error

beecut now exits if an unknown option was given or an argument was missing
bee-check: fix reading the CONTENT file and the filename handling

there were problems if a filename contains spaces

replacing the for loop and always quoting the arguments fixes this issue
bee-query: fix reading the CONTENT file and the filename handling

there were problems if a filename contains spaces

replacing the for loops and always quoting arguments fixes this issue
beegetopt: free memory before exiting

beegetopt is leaking memory if BEE_GETOPT_ERROR occurs

the variables beeopts and beeoptptr are now freed before exiting
bee-check: declare bash functions with keyword 'function'
bee-query: declare bash functions with keyword 'function'