Add install target

Add an install target to CMake. Also add a compatibility install target to the top-level Makefile but it's a bit ugly. Installation location is set via the standard ``CMAKE_INSTALL_PREFIX`` variable.

Closes #89.