Created checkboxes for selecting categories in post editing; also minor code cleanup and created helper for better formatting of post and comment date strings