Replace httpagentparser with ua_parser

I replaced httpagentparser with ua_parser library. It looks like it's more mature and can handle browser robots.
Since ua_parser provide device info i also added plugin for device auto tagging.