Optimizations & hashrate bugfix

*) Fixed the hashrate bug for Metiscoin
*) Started working on some optimizations for Metiscoin
Fixed time bias bug

Time bias (difference between local and server time) was calculated
incorrectly.
localTime + timeBias should equal serverTime (roughly)
MaxCoin support

This commit has a lot of different stuff;
*) Performance improvements for Metiscoin
*) MaxCoin support (Keccak)
*) Half-finished OpenCL miner for Keccak
*) Bugfixes and little improvements everywhere
Fixes for MaxCoin
clean up

Cleaned up the OpenCL part a bit. There is still a bug I cannot locate,
but the kernel code should be correct.
More bugfixes

*) Developer fee method now supports MaxCoin addresses
*) Fixed merkleroot calculation for MaxCoin
32bit compatibility

Small changes so the source compiles on x86 again
Riecoin support

Added support for Riecoin mining based on a custom algorithm.
i must have merged with upstream at some point... it's ok. i got it to compile for me...
remove pesky -flto's