support for named data collectors
work toward eudaq/eudaq#25
RunControl support for multiple data collector connections:
- first DC connection is treated as default
- replaced if unnamed DC connects
- otherwise, named DCs are only assigned to producers named accordingly
- runnumber is verified between all DCs
work toward eudaq/eudaq#25
fix minor bug: last line of config was ommited if not termined by newline
added small print method to dump config (can be used in producers)
improved exception handling in data collector: FileSerializer exceptions are now logged and set the error state of the datacollector.
this addresses issue eudaq/eudaq#13
minor change: removed commented code and fixed indentation in CommandReceiver.hh
Merge remote-tracking branch 'upstream/master' into multiple_datacollectors
Merge remote-tracking branch 'origin/multiple_datacollectors' into multiple_datacollectors
Merge remote-tracking branch 'upstream/master' into multiple_datacollectors
added documentation on how to run multiple data collector instances
- addresses issue eudaq/eudaq#42
modified Serializer.hh to make it more type-safe and to fix warnings/potential problems with types of width <= 8 bit

- avoids undefined shift of 8 bit in read_int and write_int if width of type is equal to 8 bit
- used fixed width variables where possible
- addresses issues eudaq/eudaq#54 and eudaq/eudaq#12

(cherry picked from commit 2485a28b70524bfd51667f47a7de7286a3d405cf)
workaround for compilation issue with Clang version 3.5 (Apple Clang version 4.2) in Serializer.hh

- adds explicit conversion of eudaq::Time to timeval via GetTimeval() method in Time.hh, and used in Serializer.hh
- fixes issue eudaq/eudaq#53

(cherry picked from commit d310746349f5a6dd8cbe8be47a691ffbfcc747df)
Merge pull request #56 from hperrey/serializer_fixes

Serializer.hh fixes
Merge remote-tracking branch 'upstream/master' into multiple_datacollectors
extended documentation for running EUDAQ w/ multiple data collectors

- addresses issue eudaq/eudaq#25
Merge pull request #42 from hperrey/multiple_datacollectors

Allow multiple data collectors running simultaneously
Merge remote-tracking branch 'upstream/master' into aida_packet
serialize method for vector of bools added

not very well understood fix for this error message for MacOS Mavericks:

cd /Users/behrens/git/eudaq_aida_packet/main/lib && /usr/bin/c++
-DCPP11=1 -DEUDAQ_EXPORTS -DEUDAQ_FUNC=__func__
-DEUDAQ_PLATFORM=PF_MACOSX -std=c++11 -stdlib=libc++ -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
-fPIC -I/Users/behrens/git/eudaq_aida_packet
-I/Users/behrens/git/eudaq/./main/include    -o
CMakeFiles/EUDAQ.dir/src/StringEvent.cc.o -c
/Users/behrens/git/eudaq/main/lib/src/StringEvent.cc
In file included from
/Users/behrens/git/eudaq/./main/include/eudaq/Event.hh:11:
/Users/behrens/git/eudaq/./main/include/eudaq/Serializer.hh:105:23:
error: no matching member function for call to 'GetFunc'
      WriteHelper<T>::GetFunc(static_cast<T*>(0))(*this, v);
      ~~~~~~~~~~~~~~~~^~~~~~~
/Users/behrens/git/eudaq/./main/include/eudaq/Serializer.hh:136:9: note:
in instantiation of function template specialization
'eudaq::Serializer::write<std::__1::__bit_const_reference<std::__1::vector<bool,
std::__1::allocator<bool> > > >' requested here
        write(t[i]);
        ^
/Users/behrens/git/eudaq/./main/include/eudaq/Serializer.hh:136:9: note:
in instantiation of function template specialization
'eudaq::Serializer::write<bool>' requested here
        write(t[i]);
        ^
/Users/behrens/git/eudaq/main/lib/src/StandardEvent.cc:43:9: note: in
instantiation of function template specialization
'eudaq::Serializer::write<std::__1::vector<bool,
std::__1::allocator<bool> > >' requested here
    ser.write(m_pivot);