Allows check and deep-check to take multiple arguments (ticket #740)
Changed code based on comments from daira on 6900bf4
Fixed errors that caused test_check and test_check_with_nonexistent_alias to fail
Fixed error where check returned successfully with no aliases
Added test_check_with_multiple_aliases in test_cli
Changed check_output to check_location for clarity