Added Http request sensors entity-initializers for YAML definition

Added support for defining basic HTTP sensors at  YAML which retrieves JSON response from http polling to certain URL.

Also fixed deprecated calls on HttpValueFunctions.
I prefer static import for things like Assert or Preconditions, but not a strong opinion