Check if HTTP_USER_AGENT is set.

In some circumstances the HTTP_USER_AGENT server variable is not set (CLI execution) which resulted in a PHP notice. By setting $bot_test to 'cli' or 'other', we have more possibilities to fine-tune the bot control.
Merge pull request #47 from Filipvds/patch-1

Check if HTTP_USER_AGENT is set.