remove obsolete and unused typedef for Windows
Remove leveldb in preparation for git-subtree
Squashed 'src/leveldb/' content from commit aca1ffc

git-subtree-dir: src/leveldb
git-subtree-split: aca1ffc4b65be5e099b2088c6e6a308d69e1ad73
Merge commit 'c25e98186d0f716451ef000e55646d25e014f573' as 'src/leveldb'
osx: make use of the 10.8+ user notification center to display growl like notifications

- if 10.8, use user notification center, if <10.8, use growl

Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
Don't attempt to resize vector to negative size.
Move pMiningKey init out of StartRPCThreads

This commit decouples the pMiningKey initialization and shutdown from the RPC
threads.

`getwork` and `getblocktemplate` rely on pMiningKey, and can also be ran
from the debug window in the UI even when the RPC server is not running.

Solves issue #2706.
Merge pull request #2705 from robbak/crash_zero_size_peers.dat

Don't attempt to resize vector to negative size.
Merge pull request #2716 from laanwj/2013_05_30_getwork

Move pMiningKey init out of StartRPCThreads
Merge pull request #2615 from jonasschnelli/mac10_8_not_center

osx: make use of the 10.8+ user notification center to display growl lik...
Merge pull request #2552 from Diapolo/win-typedef

remove obsolete and unused typedef for Windows
Merge pull request #2616 from vinniefalco/leveldb-as-subtree

Leveldb as subtree
Merge branch 'master' into Qt5

Conflicts:
	src/qt/macnotificationhandler.mm