Added: Caching for prepared statements and prepare action

Prepared statements are added to a cache to prevent repeated preparation.  Also
adds a new action, prepare, to allow all prepared statements to be prepared
when starting the module.