Revert "disable building the docs"

This reverts commit 932977e01173ae67a281540a70391f0ea7038862.
Revert "remove some optimizations for the 32-bit bug"

This reverts commit b19b7700e4ed0c29d74d25c2ee8fc70e712ddc30.
Revert "Customized debian rules file"

This reverts commit 14b6d91c6cb6d87a0823963592f6a91a3301d88b.
Rebase from 'release/groovy/opencv2'
Placing debian template files
Customized debian rules file
Rebase from 'release/groovy/opencv2'
Placing debian template files
Customized debian rules file