sorted command line arguments

For verbose output stability
Merge pull request #23 from esc/bugfix/sorted_args

sorted command line arguments
add the test case from #16

The test doesn't fail because the roundtrip uses an in memory object and the
metadata is never serialized to JSON.
hacking with nosetest test generators
apply fix as suggested by @dmbelov
rename, we are fixing dtype only
hackish fix

Check first if the dtype is a list and then check if the first element is also
a list.  The assumption here is that JSON gives back a list of lists and that
is what needs to be fixed. If we have a list and then a tuple it means the
dtype was probably not serialized and deserialized by JSON. Any dtype that is a
string will not be touched obviously, so we might be able to do away with the
else clause in the _fix functions.

There might still be other corner cases undiscovered.
less hackish fix
remove debugging print
fixup command-line tests
remove all tests that remove the segfault