Fixed "no AIML" bugs

1.) Fixed a bug with the "Download AIML" admin page that allowed users
to attempt to download AIML or SQL files for a chatbot that didn't have
any AIML categories assigned to it.
2.) Fixed a similar bug with the "Clear AIML" admin page.