[z2118] Implement SQLHashStorage

Thanks to Cyberium for working on this and updating to recent changes

Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12182] - 045e86e)

(based on commit [s1744] - f3ef62b)