Adding AJAX filtering to filter pages

Adding AJAX filtering to filter pages this is for trac ticket 7640