Implement printing for Instants
Fixes for batch execution

• Resets statements after execute
• Copies parameter values so each new batch starts with the previous values
• Migrated unit tests from original project