Array fixes and better SQL syntax for getArtist

Artist data now returns category title for given language.