remove *.def from c project (otherwise won't compile)

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
Merge pull request #1 from openearth/add-const-and-cleanup

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