Adding support for POS coin

This will fix #275 and add proper support for a different implementation
of network difficulty.
Detect if we use POS difficulties or not

Fixes #275