[REF] wrap long lines in stock_scanner.py
[IMP] improve search views of scenario steps and transitions

Added a related field to the scenario itself on the transitions
so that we are able to filter and sort transitions based on the scenario.
Merge branch '6.0' of git://github.com/syleam/stock_scanner into 6.0