Implemented the standard building and packaging

Implements the same mechanism we now use for all the modern plugins, allowing for build without the main OpenCPN source tree and creation of the installation packages on all platforms.