Change storage clearing to always be done.

Also add patch for numpy API fixes to help people playing with scan_perform.pyx
Add test that the storage is really cleared.