CMake: Generate opentxsConfig.cmake so we can use find_package in server and other applications that use the opentxs library
Update minimum required CMake Version to 2.8.11 (needed for CMakePackageConfigHelpers module)
Merge pull request #224 from lclc/cmakeconfig

CMake: Generate opentxsConfig.cmake so we can use find_package in server...
OTAPI_Exec: Fix opentxs decode: No Error when empty string
Merge pull request #223 from lclc/decodeFix

OTAPI_Exec: Fix opentxs decode: No Error when empty string
Refactored creation of main file so it can be done programmatically.
Fix to use empty()
Cleanup of commented code.