Finished function that will retrieve tumblr tags from the database with parameters for category name and the number of tags we want to retrieve.