Bugfixes and XBMC functions

XBMC function to get all movies to an array and serachpage shows if a
movie is already owned.
Bugfixes changes '%d' to '%s' for string values in database