Started developing notification mechanism.

Added some common functions.

No longer uses prowl nor growl. From now on it will use the gmail api.