added functions to add and enable branches

they are placed in a new layout: bamboo/resource_name.py, to
which the others should be converted
add single lib file to include
improved error reporting
removed example files which tend to be outdated.
the readme file should include all the main use cases