Fix for issue #354, add per-contact notifications

This adds ability to customize notifications on a per-contact basis and adds some additional notification options.

A large part of this code is borrowed from the excellent [SMSPopup](https://code.google.com/p/android-smspopup/) app, but any bugs are entirely mine.