ISPN-4733 Investigate potential issues with System.nanoTime() overflow

* Fixed TestingUtil calculation for when to stop trying
* Changed stats to not error if nanotime is -1 (extreme edge case)
* Also fixed TransactionTable when clearing old txs
Generate the component metadata file in the generated-resources directory, so that it doesn't force a recompile of the module every time.