Disable variadic template support in C++11
Fix boost uint type bug by reordering the includes
Add missing constant for solaris
Ignore SIGPIPE signal on Solaris
Fix fcntl include in net.cpp & netbase.cpp
Add 'chainwork' to getblock

Returns nChainWork from the block index, the total work done by all
blocks since the genesis block.
Fix out-of-bounds check
Merge pull request #2852 from petertodd/getblock-chainwork

Add 'chainwork' to getblock
Merge pull request #2618 from fcicq/solaris-support

Partial solaris support
Merge pull request #2935 from sipa/obounds

Fix out-of-bounds check
Document and test OP_RESERVED weirdness

Seems it was forgotten about when IsPushOnly() and the unittests were
written. A particular oddity is that OP_RESERVED doesn't count towards
the >201 opcode limit unlike every other named opcode.
Merge pull request #2938 from petertodd/op-reserved-weirdness

Document and test OP_RESERVED weirdness
Merge pull request #2928 from jgarzik/cnb-txout

CreateNewBlock / getblocktemplate cleaning
Support absence of wallet (pwalletMain==NULL) in several locations,
notably RPC.
init.cpp: cosmetic code movement, preparing for no-wallet mode.

No behavior changes, just indentation changes.
Add -disablewallet option, to disable wallet support (and BDB)
RPC validateaddress: test pwalletMain for NULL (no-wallet mode)