added leaves model, and statemachine to leave
added leave_mailer
added user_id to factory leave
added admin facility to approve/reject leaves
added before filter to check is_admin?
modified for better UI