First pass at unit tests for Shapelet
(#350)
Some fixes to the LVector memory management to work with viewing as a numpy array
(#350)