Update tests for latest ripple-lib

Changes to transaction submission requires that validation tests
either close a sufficient number of ledgers to fail a transaction,
or to emit a validated "transaction" event. Also, tefMAX_LEDGER is
no longer a final error--it is replaced by tejMaxLedger
Bump ripple-lib version
Change response error precedence
Merge pull request #238 from ripple/tests

Update tests