add raise SystemExit
fix exit_code to 1
Merge pull request #49 from item4/cli/upgrade

CLI: fix bug at cliche upgrade
add EnvironmentContext to run command
use app_context
test history on travis
Merge pull request #48 from item4/cli/history

CLI: fix bug at setup.py - history