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.
same as above