Finished cpuminer implementation

  * Added stratum support
  * Added compatability with 1GH
  * Cleaned up code