Titan driver for-upstream-4.10.0

Here is cleaned up pull request for the next BFGMiner release.