Add `-stopafterblockimport` option

Stop after importing blocks. This can be useful for development
and trouble shooting.