Resolved #55 (once again) by adding validations to Category model

Added validations for sort_order, max_checkout_length and max_per_user to prevent saving non-positive integers.