pylib: more fixes to the mapping class
pylib: implemented getHostAttr in rocks.db.helper

This function mimic the behavious of the
rocks.commands.Database.getHostAttr
but it uses the new attributes table with category and catindex