Adding some security checks to admin ajax calls.
Merge pull request #28 from methnen/ajax-security

Adding some security checks to admin ajax calls.