Log BerkeleyDB version at startup

Prints the actual version of BerkeleyDB that is linked against, if
wallet support is enabled.

Useful for troubleshooting.

For example:

    2014-05-01 07:44:02 Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010)

    2014-05-01 07:54:25 Using BerkeleyDB version Berkeley DB 5.1.29: (October 25, 20 11)
Update build instructions for Berkeley DB

- People were having problems with the .so when installing in
  alternative locations.
  Like gitian, build a static library with -fPIC that can
  be embedded into the executables.

- Add some missing steps

- Add reminder that BerkeleyDB is only needed when wallet support is
  enabled
stop bitcoind/bitcoin-cli processes that might have been left running
Removed LevelDB changes

Syntax Highlighting
reorder includes to compile on OpenBSD

From getifaddr(3) manual:
"If both <net/if.h> and <ifaddrs.h> are being
included, <net/if.h> must be included before <ifaddrs.h>"

http://www.openbsd.org/cgi-bin/man.cgi?query=getifaddrs&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
Enable address index

See:

https://github.com/dexX7/bitcoin/commit/0de1b66076d165cbeed5f67b8c6abc48525a437a

Or:

https://github.com/sipa/bitcoin/commit/fd867c7dbc1b5ad971dd308069257e7db5e11ac1

https://github.com/sipa/bitcoin/commit/4790f3c823a33fae44b82ef7962372e38b1b0131
Add RPC command "listalltransactions"

> listalltransactions "address" ( verbose skip count )

Returns array of all transactions associated with address.

Arguments:
1. address (string, required) The Bitcoin address
2. verbose (numeric, optional, default=0) If 0, return only transaction
hex
3. skip (numeric, optional, default=0) The number of transactions to
skip
4. count (numeric, optional, default=100) The number of transactions to
return
Add RPC command "listallunspent"

> listallunspent "address" ( verbose minconf maxconf maxreqsigs )

Returns array of unspent transaction outputs
with between minconf and maxconf (inclusive) confirmations
spendable by the provided address whereby maximal maxreqsigs
signatures are required to redeem the output.

Arguments:
1. address (string, required) The Bitcoin address
2. verbose (numeric, optional, default=0) If 0, exclude reqSigs,
addresses, scriptPubKey (asm, hex), blockhash, blocktime, blockheight
3. minconf (numeric, optional, default=1) The minimum confirmations to
filter
4. maxconf (numeric, optional, default=9999999) The maximum
confirmations to filter
5. maxreqsigs (numeric, optional, default=1) The number of signatures
required to spend the output
Add RPC command "getallbalance"

> getallbalance "address" ( minconf maxreqsigs )

Returns the sum of spendable transaction outputs by address
with at least minconf confirmations whereby maximal maxreqsigs
signatures are allowed to be required to redeem an output.

Arguments:
1. address (string, required) The Bitcoin address
2. minconf (numeric, optional, default=1) The minimum confirmations to
filter
3. maxreqsigs (numeric, optional, default=1) The number of signatures
required to spend an output
Include "spendable" in JSON output
Include "blockheight" in JSON output
Remove "time" from JSON output

Redundant! There is already "blocktime"
Include "position" in JSON output

This is the position/index of a transaction within a block
Merge branch 'v0.9.1ish-address-indexed' of https://github.com/dexX7/bitcoin into v0.9.1ish-address-indexed