Couple of CLI tests fixed

fixing some of cli tests

notes:
test_user.py - html not allowed in login
tests/cli/test_hostgroup.py - no 'new-name' parameter, own data for metaclass test added
test_environment.py - only alphanumeric characters allowed in env. name
test_globalparam.py - redmine bug closed
factory.py (make_partition_table) - make_partition_table now works without parameters