add basic shell smoke test
shell: use WP_CLI::print_value(), since we don't want to colorize the output
behat: add newline to generated files

`wp shell` expects it
test declaring functions and variables in a shell session
add test for 'history' builtin; see #373
Merge pull request #430 from wp-cli/shell-tests

Functional tests for `wp shell`