cmake: Support configuring executables for Orocos

Instead of forcing the ADD_EXECUTABLE() and INSTALL() calls on the user,
this allows them to configure an existing executable. This also supports
configuring tests that require Orocos.