recommiting earlier changes. note to self: don't commit at 6 in the morning

deschler:
- cherry-picked efeb9838164e20f461690e6683481cc9078c983a
- fixed some merge conflicts
removed redundant typedef
fixed some inconsistent types
added xcode project
removed ncurses again..
Removed xcode project, created makefiles for jhlib and main program
Removed all references to CBigNum and rewrote those parts of the code
to use gmp instead. Hopefully nothing broke too badly.
Removed bignum files from makefile
add stdint header
Switched to STL chrono instead of boost, requires a recent compiler

deschler:
- cherry-picked 641075e07b27422da0573f68d22e3c6b022487b9
- ommit boost changes which aren't present in upstream
removed pthread.h from unused file thats in the visual studio solution
Removed some pointless includes
Revert "Removed some pointless includes"

This reverts commit 14f7d16ab6b02d77a7ed5a5b2b2c30efa340a69c.
Revert "removed pthread.h from unused file thats in the visual studio solution"

This reverts commit c0ba1b0e5e893e0ee2b6e256e2d946b5d5623078.
Revert "add stdint header"

This reverts commit 90b793814d0f6456ca64acaef80a3ff5db57a160.
Revert "Removed all references to CBigNum and rewrote those parts of the code"

This reverts commit 29614cc5c6c6bfa923b83f324e58b9f7b953f6fb.
- commented out some unused headers
- added newlines at EOF to files in jhlib
- updated makefiles
- commented out most of the old unused CBigNum code
Added missing ifdef
- fixed a  function overloading compilation error
- fixed a makefile target
- changed integer type names in a file because msvc does not support
standard integer type names
- added stdint.h to jhlib,