Critical transaction fix

Fixed a little bug that made it impossible for the xpt pool server to
generate valid blocks that contain non-coinbase transactions.
Interrupt on new work

The miner now stops processing the current work when a new block
appears.
Update .gitignore
Merge pull request #2 from Zoltan86/patch-1

Update .gitignore
Better transaction handling
Merge branch 'master' of https://github.com/jh000/jhProtominer into jh000-master-sph

Conflicts:
	src/jhProtominer/global.h
Merge branch 'jh000-master-sph' into sph

Conflicts:
	src/jhProtominer/main.cpp
	src/jhProtominer/protosharesMiner.cpp