Revert "Truncate oversize 'tx' messages before relaying/storing."

This reverts commit c40a5aaaf484855a4350fd702e8e72fd21a68155.
Simplify storage of orphan transactions

Orphan transactions were stored as a CDataStream pointer;
this changes the mapOrphanTransactions data structures to
store orphans as a CTransaction.

This also fixes CVE-2013-4627 by always re-serializing
transactions before relaying them.
Make RPC password resistant to timing attacks

Fixes issue#2838; this is a tweaked version of pull#2845 that
should not leak the length of the password and is more generic,
in case we run into other situations where we need
timing-attack-resistant comparisons.
Performance optimization for bloom filters.

This reduces a peer's ability to attack network resources by
 using a full bloom filter, but without reducing the usability
 of bloom filters.  It sets a default match everything filter
 for peers and it generalizes a prior optimization to
 cover more cases.
Betacoin: changed README and made minimal
Betacoin: renamed the qt project file to track his changes
Betacoin: changed icons and images

Changes done since old master:
- toolbar1.png removed (joulecoin), I did a grep of it and seems unused
- betacoin.png removed, I did a grep of it and seems unused
- some images improved and fixed:
  src/qt/res/icons/toolbar.png
  src/qt/res/icons/toolbar_testnet.png
  src/qt/res/icons/bitcoin.png
  src/qt/res/icons/bitcoin_testnet.png
  src/qt/res/images/splash.png
  src/qt/res/images/splash_testnet.png
  src/qt/res/icons/bitcoin.ico
  src/qt/res/icons/bitcoin.icns
  share/pixmaps/bitcoin*.png
  share/pixmaps/bitcoin*.xpm
  share/pixmaps/favicon.ico

Note of possible improvements:
- some images should be changed:
  src/qt/res/icons/bitcoin_testnet.ico
  share/pixmaps/bitcoin.ico
  share/pixmaps/nsis-header.bmp
  share/pixmaps/nsis-wizard.bmp
Betacoin: change coin name in localization files

Reapplied these patches solving conflict with betacoin changes:
- update bitcoin_en.ts to current master (2013-07-23)
Betacoin: some coin name change only

This patch should be splited in other patches:
- changes of coin name on qt strings insert also on locales
- changes of coin name on text strings
- changes of coin name on core

Note of possible improvements:
- remove coin name changes only from comments
  on core code
- remove changes of coin name on qt strings translated
  by locales for change them only 1 time instead 3,
  require remove of them also on source fields of locales
Betacoin: build changes

Changes from old master:
- changed coin name on share/setup.nsi to not
  conflict with bitcoin installation
Betacoin: mainly core changes

This patch should be splitted in other patches:
and with full details about them, for example:
  - checkpoints reset
  - chainparams changes
  - block generation changes

Changes done since old master:
- unuseful change of file mode removed
- src/leveldb/build_config.mk removed because included on gitignore
- removed changes to src/version.cpp, was unuseful and know git commit
  of build can be useful
- removed some trailing whitespace
- fixed some formatting errors
- src/chainparams.cpp: removed seed4,5,6.betacoin.org not existing and
  3 should be sufficient
- splitted coin name changes only and some core changes to another
  patches
- src/qt/splashscreen.cpp: removed change to pixPaint.setPen

Reapplied these patches solving conflicts with betacoin changes:
- fix possible infinite loop in intro.cpp thread
- Move internal miner to separate miner.cpp module
- Minor miner fixes
- Remove #define loop from util.h
- Make sure new wallet variables are initialized
- Bugfix: Store last/next wallet resend times unique per CWallet object

Note of possible improvements:
- some formatting errors should be fixed
- improve src/chainparams.cpp
Betacoin: added comment field to transactions

Changes done since old master:
- removed some trailing whitespace
- fixed some formatting errors

I think that must to be revised completely:
- better integration in gui
- added strings shild be added to locale files
- different version of transaction structure is not
  needed because this field is present from start.
  Probably is better have fixed structure adding
  comment field and maintaining upstream version.
- consider also security and compatibility
Betacoin: addrman changes

Description and justification of these changes must be added.
Betacoin: added betacoin developers to copyrigth lines

Changes from old master:
- added on unique copyrigth line instead additional
Betacoin: version

Set correct version and flag as release even if is not stable version

Changes from old master:
- increased build version from 4 to 5
- changed CLIENT_VERSION_IS_RELEASE to false until the improvements
  will are finished and will be well tested