Changes.

Changed apply to leave
added a testcode php file for me
created a leave management javascript file
edited madhushans search student
added insertleave function to db access