(Pseudo-)Functions to inspect effective logger's loglevel.

ale:get_effective_loglevel(Logger)
  returns effective loglevel for a logger

ale:is_loglevel_enabled(Logger, LogLevel)
  returns true if Logger has LogLevel enabled

Change-Id: Ic9f0bd0e28d407c1652bc8471b72d415dc202d71
Reviewed-on: http://review.couchbase.org/37521
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>