Removed alerts in the javascript files

Changed the HeadController to correctly load a different nav if you are logged in.
When logged in the user will see the nav5_2.php navigation bar, which includes their first name and a logout button which currently does not work.
Starting creating a search class.

This all kind of happened because I was all like "I feel like making a search class, screw planning and logic, lets see what I can create at 10:30pm at night".

Well after spending a good 3 and a half hours on my bum, I present a semi-working easy to use use class.

How you use it is you can go:

$testingSearch = new TaskSearchHelper();
    	$testingSearch->setTag("addedHours", false);
    	$testingSearch->setTask(127, true);
    	$testingSearch->setUser(2, true);
    	$testingSearch->setDatabase($this->database);
    	$testingSearch->search();

Because tags/comments are the one ones with both a task id and a user id attached to the table, the class will only search for comments, if you only entered in a task it will search for tasks, etc.

You are also able to set the page number and quantity (with the page number being where to LIMIT the SQL query).

I do warn you though, I didn't really think through the variable names and I decided to experiement and see if I could come up with something awesome. However, I did not.

With that being said, I tried to keep it all nice and open and flexible, but then again it's 2:13am so I probably have no idea what this code actually does or looks like and I'll wake up and it will all be a big pile of mush.

Anyway, I'll continue this as my own little probject to try and get us a few bonus marks on the task system for our team website.

Enjoy!
Updated search function to be much more open, now works with searching for tasks.

Currently adding in ability to be able to left join a table in query.
Quick clean up before I finish for the night.

I removed 2 methods that are now not needed anymore as I now have the one search method doing everything rather than 2 different methods for tasks and tags.

Next to be added in is being able to search for all tasks that a user is currently part of.
Made everything all nice and much more complicated than it could have been.

Everything is still all working, not much has been added, just a lot of re-arranging and making everything nice and robust.
Timesheets are now fully working! (minus a few small features)
Changed nav bar to include a drop down (only edited nav for the Task package) so you can now easily go to the task, hours and search pages.

Updated the search page to include a form allowing you to enter in the fields you would like to search for. So far everything appears to be working, but will obviously need more testing.
Fixed a few minor bugs.

Now when you create a new Task, the user's name is displayed without loading the page (originally nothing was there until you reloaded the page).

Now when you create a new Task, the Task description will display properly with the option to collapse the text (before the "..." was showing up until you reloaded the page).

Added a nice and dirty way around formatting the TaskSearchHelper, I have left the following comment in the method buildFromQueryRow inside Task:

/*
 * Please note: I am setting the Task's title to be an array instead of just the task title
 * so it formats nicely when printed out in the search field.
 *
 * It might be worth making a different method to return a nicely formatted array
 * for the TaskSearchHelper.
 */

Creating that seperate method is something I intend to do, but is fairly low on the priority list.

Also, the date picker is now the JQuery date picker instead of the type="date" html date picker as the original way only worked with Chrome and I think Safari.
add LocalConfig.php to gitignore
Merge in current state of feature-login-timesheet