Patches for changing prompt colour according to OTR encryption status

These are the changes for displaying the OTR encryption state for the current conversation in the prompt string, described in Issue #58. For more detail on the changes, please see the information included in the git commit messages.

Please review and merge if you like this feature, otherwise feel free to close. :)