Following Simpletest results, fixed code clean issues
cleaned and comments added according to drupal standards
cleaned and extra commented code for debugging removed
Fixed permission and implemented hook_search_access()
fixed minor bugs and updated comments in code
Issue #1668210 by Qandeel: Ported to 7.x release.
Stripping CVS keywords
Removing translation directories
Drupal is a registered trademark of Dries Buytaert.