Added auto-wildcard and auto-reverse search options to search page
Redirect to accessed page on login rather than index, include query string args in login redirect.
Only allow 1 PTR for any IP to exist at a time.
* Don't split one change into multiple commits ("Removed temporary debugging line" ?? don't add it in the first place)
* Commits named "Added documentation for functions" should not touch any code.

Rebased:

* I didn't review the doc changes itself, but now they should only change comments
* The code to construct the search query is ugly - no one can review that (also contains broken indentation)
* The login redirect.. may be working, ok (fixed indentation)
* There is no rule that says only one PTR is allowed. Some even say you should have a PTR for each A pointing to your IP.