issue #113: only send test sms if user has a mobile no
issue #108: fixing dirname() for Windows when used for URLs instead of actual dirs