MNT/API : moved validate_dict_keys

moved from collectionapi/commands.py to utilities/__init__.py.

Moved the init level in anticipation of flattening this namespace.
MNT : removed debugging print statement
MNT : minor PEP8/pyflake changes
MNT : refactored/simplified userapi/commands.py