clean-up of comments, API and small improvements (works in csharp version, except set_values)

clean-up comments
move log levels to API (more explicit, no guessing after include of bmi.h)
add const where required
remove line engings in log messages