vs 2012 lacks the function strtoll. --> replaced with a function with same functionality but different name.

in addition to this it also seems that strtoll is not a member of namespace std.
(cherry picked from commit 37da4d015059dc39e5e2bc1b42e66be70e9dafad)
(cherry picked from commit f9bffe85bea0f4a94ad078b904be08e5960ccccd)
made EUDAQ version parsing by CMake using git more robust

- remove potential line breaks from output
- on error use hard-coded CMake version string instead of trying to parse error message
(cherry picked from commit 7f1e9310503a24081b9b4148e21a9bfd24a191d3)
in utils.cc use c++11 string conversion functions

- reduces preprocessor statements
- revises commit f9bffe85bea0f4a94ad078b904be08e5960ccccd
(cherry picked from commit 69935abc43e5cc272b182e1a6a933476ac9955b6)
fixed variable name mismatch for offline mon. in CMake file
(cherry picked from commit c691c7f96597f28005eaf5ae14e2cd19e2a0392d)
bug fix: now the root libraries get included correctly
(cherry picked from commit 2954539ebce2c675929e7baf848eb340638cb637)
(cherry picked from commit 6c88d8526561d52d3adc9c198d19b12a21535fad)
added missing include in utils.cc and fixed parameters to string functions

- fixes 69935abc43e5cc272b182e1a6a933476ac9955b6
(cherry picked from commit 5c6ddf09bd32ccbd8ce779994a948448811b41bd)