Improve CMake build system for all Mac, Linux and Windows
Improve CMake build system for all Mac, Linux and Windows

Summary: Improved CMake build system. Separated static libraries: libredex, libtool, and libresource. Binaries: redex-all and mortirolo. Note that libredex does not include facebook-only optimization passes.

Reviewed By: justinjhendrick

Differential Revision: D6225774

fbshipit-source-id: 496b3a2bec8e6d633814f735e1a7456502f8d833

facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex