Add context boosting

the old weighting mechanism
  - uses a list of context weights
  - normalizes the weights to a maximum of 1.0
    - not sure if this is really necessary or the users responsibility
    - the computation should be done /once/ every time the weights are
      set and not with every query
  - seems cumbersome imo
Add basic logging with hslogger