[beeswax] Replace power UDF by tofloat in the tests

The classes seems gone in Hive now.
Fix test_designs by using the new REST API.
HUE-1859 [core] Add generic middleware support