cmake/apple: compile targets directly into the app bundle
cmake: fix win32 code path

Signed-off-by: Tim Blechmann <tim@klingt.org>
class library: jitlib: proxies can be copied now
class library: NodeProxy: refactor setNodeMap to simplify.
class library: NodeProxy: cache synth def data when copying. This makes a copy much more efficient.
help: documentation for proxy copy behavior
class library: BusPlug: allow to copyState into existing proxy
class library: implement copy message for pattern and def-type proxies
class library: allow copy of a Monitor
class library: reformat code
class library: improve Bus data copying implementation

Bus newFrom calls its classmethod *new rather than "Bus" explicitly. This fixes potential subclassing issues. The usual copy interface could have been implemented, but this may break code which assumes a simple copy of the object, pointing to the same data on the server.
class library: NodeProxy copy makes a silent copy of its monitor
class library: improve readability by unifying code formatting.

No functional changes. Mostly just removing trainling semicolons, adding spaces between elements and newlines between methods. Generally, using the same syntax everywhere in one file. Later we can still change all the "arg x, y, z;" to |x, y, z|.
class library: move copy method from NodeProxy up to BusPlug
HID_API fix: initClass -> initClassTree
Merge pull request #1203 from andersvi/master

HID_API fix: initClass -> initClassTree
help: add documentation for proxy copy
class library: HID classes init class tree properly
help: improve helpfile example
help: improve helpfile example