logging: Refactor file appender logic re popping number of events per cycles

Simplify the logic into one loop, regardless of whether are
popping a fixed number of events or popping infinite.
logging: Add rolling file appender, plus test deployment files
logging: Add configuring of category additivity to property file
logging: Support explicit draining of ostream buffer

Ensures that an appender can be explicitly drained, which is
very useful when used within a unit test suite; between each
test case the buffer can be explicitly drained to ensure that
all output is sequenced correctly.
logging: Centralize event processing. Drain buffer on appender stop.
logging: Support direct connection to Category log port

Unit test code frequently requires direct access to a category's
log port, to be able to syphon events off. This supports direct
connection without needing to know the category port's name, which
is usually the method to locate a particularly port within a
component. The problem with category ports is that their name
is a reverse-DNS-order translation of the category name, and so
can be tricky to figure out.
logging: Add diagnostics on max events popped

Logs diagnostics when the appender is stopped, on
the total number of events popped during the appender's
lifetime. The diagnostics are logged directly to the
appender's output.
logging: Add generational file appender component
bin: Support enforcing minimum number of CPUS on platforms where RTT supports CPU affinity

On platforms that don't support CPU affinity a warning is emitted if
the user tries to enforce the number of CPUs. Otherwise it is an error
to have less CPUs than the minimum number requested.
Merge branch 'logging-fixes' of git://gitorious.org/orocos-toolchain/snrkiwi-ocl into toolchain-2.7
Merge branch 'logging-fixes2' of git://gitorious.org/orocos-toolchain/snrkiwi-ocl into toolchain-2.7
Merge branch 'support-num-cpu-checking' of git://gitorious.org/orocos-toolchain/snrkiwi-ocl into toolchain-2.7
cmake: don't generate stuff in the source dir

Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>