userID, itemID remapping

Integrated remapping function into kornakapi, that maps userIDs and itemIDs into int range