cleans up old test files if they exist
only rm sqlite if it exists
used more clean_outs calls
Merge pull request #829 from gidden/clean

cleans up old test files if they exist
Fix shebang for python test files.
KFacility Inv into restart db.
Decl and def tricks.