scripts: Improve error message

Tell the user what branch was active when the error occured.

Change-Id: d07a7daf18
Fix release/story changes

These commands were buggy and mostly not working properly due to a few major
flaws in the implementation coming from not understanding git enough.

This patch makes sure the changes commands work properly. The patch is rather
scattered across the code base because the fixes and changes just implied
further changes in the code base. The end result should be, though, that the
release changes and story changes commands work properly now.

Change-Id: 048b5cc7f2