don't draw empty path collections

doing so causes a JavaScript error because "vertices is undefined".
add a test for empty line collections

test creates a figure with an empty line collection, which should be invalid but
is a reasonable accident to make and handle. It then ensures that a collection
with zero paths is not JSON serialised, because this would cause the JavaScript
to fail.
json serializer for numpy
Merge pull request #211 from njwilson23/empty-collections

don't draw empty path collections
Merge branch 'my-new-check' of github.com:vasseur/mpld3 into upstream
TST: axis ticks with numpy dtype
TST: rename visual_test.py to visualize_tests.py

this matches the docs
Merge pull request #217 from aflaxman/vis_test_name

TST: rename visual_test.py to visualize_tests.py