Replace ABC_ALLOC with type-safe variants
Make the scrypt headers C++ compatible
Type-safe buffer macros
Compile everything as C++
Merge branch 'c++'
Added timeouts to curl calls
Hack fix for stolen funds bug