Merging Bitcoin pull request #2525:

qt: register metatype for bool*

This allows the bool* type to be passed between threads.  Should solve issue #2402.