fix dmlitestorage redirect handling
add redirectException handling in cdmi and noncdmi.py