Enhancements to cmake

Added some extra cmake functionality, including ability to "install" the libs and headers.
Libs are compiled as shared libraries - next improvement would be to make that an option?
Improved searching for asio.hpp in include paths.