Qt 4.8.5 (fixed for Leopard + with-docs option)

Fixed version of pull request https://github.com/mxcl/homebrew/pull/21004
This formula was tested on Leopard
The fix was squashed into davidjrice's commit
Also adds a with-docs option, so that instead of removing the docs at the end they are simply not build, unless specified.