Updates to plot fix PR

- Replaced constant `plot` in nupic_output.py with a try/except around matplotlib import.
- Treated `plot` constant in main script more like a python constant
- Turned `PLOT` into bool value