This also missed the UnconfirmedRawTransaction switchover
Merge pull request #115 from aalness/fix_get_tx

This also missed the UnconfirmedRawTransaction switchover
Look for POSTed tx in the body
Merge pull request #118 from aalness/post_body

Look for POSTed tx in the body

Resolves https://github.com/coinbase/toshi/issues/117
Allow cross-origin API requests
Merge pull request #119 from aalness/cors

Allow cross-origin API requests
Fix additional fields for orphan txs
Merge pull request #123 from aalness/fix_orphan_additional_fields

Fix additional fields for orphan txs
Add Dogecoin support

Remove network protocol version setting so it uses value from Bitcoin-ruby.
Added Digishield difficulty calculations for Dogecoin.
Dogecoin testnet difficulty reset now functions correctly.
Updated minimum work that can be required for a block to handle Dogecoin Digishield blocks.
Disabled expectation of block v2 for Dogecoin.
Expand total received and sent fields in the address table, to handle extremely high value addresses in Dogecoin.
Add Dogecoin AuxPoW support

Added initial draft of AuxPoW handling, primarily for Dogecoin at this time however
any chain following the Namecoin merged mining specification should work. AuxPoW blocks
are now identified, and the AuxPoW data validated and checked against the difficulty of
that block.
Tighten the limit on the maximum length of queries

I witnessed gigantic queries causing a slowdown when loading the database via the bootstrap script. This change allowed Dogecoin testnet block 50,057 to be loaded in about 16 seconds, down from 45 minutes.
Changed transaction loading to use parameterised queries.