Removed duplicate functions. Moved the global functions to seperate file
Using previous function to create JIT structure

As previous function declared in vanshavali.php which were to be used to create JIT structure are not in working state so using the previous functions
in the vanshavali class to get the JIT structure
Solving Issue #2 and more

Added 2 new steps during installation
1. It goes through autofix.php which analyzes the data in the table and checks if there is any anomaly.
2. It now checks for permission in the directory which are to be used by FamilyTree (Issue #2)

Added a function dir_iswritable which check if we have write permission in the given directory
New Template to be used with autofix. See previous commit for details
Added Doxygen Documentation
Deleted Unneccesary files
This deleted all the unneccessary files and the nbproject folder added by netbeans