updated checkpoint and fix to rpc crashes

checkpoint added and fixed issue where getblocktemplate getwork and
getwork2 crashed rpc console when not running in server mode
add level db makefile
Merge pull request #1 from photonproject/master

Merged