Merge pull request #141 from alexjfisher/master

Add ability to debug ldap connections.
Minor refactoring - renamed authentication function
Merge branch 'master' of https://github.com/poweradmin/poweradmin
Fix sort  by count_record in list zones
Add default secondary sort by name in zones, records list (fixes #62)
Optimize function show_pages (pagination)
* Don't validate CURL, MBOXFW, and NAPTR records as SPF records.
* Remove unnecessary comment about validating a record as SPF.
* Move validation for LOC records above the list of unvalidated records.
* Use htmlspecialchars when populating input values.
fix undefined var in bulk_registration.php
if pdnssec_command is set use it to rectify all zones - pdns needs this for all zones if dnssec is enabled
Add basic support for more record types
add SPF content sanitizing to edit_record.php (same as edit.php and edit_zone_templ.php)
always display current record type in drop down list, even if not in the list of supported types. some more htmlspecialchars and SPF/... sanitizing fixes too
Fixes #23 - Added configuration variable to control creation of top level TLDs
Fixes #48 - Wrong type used for quoting SQL parameter, that can cause error while changing username
Solution for #126 - force UTF-8 encoding in case if http server was configured for different charset
Fixes #52 - Content field for template records can't be empty
Updated link to config file documentation
Updated references to bug tracking system.
Updated message files.