Merge pull request #3 from sunsetsystems/master

Fixed Login, Logout and Register menu items again.
fix for postfix
trial fix for postfix
cleaned up some stuff
yet more cleanup
added security stuff for apache
misc fixes
postfix fix
add setting to set the external link
improved portal demo stuff to work on any demo
demo link replacement fix
attempt at next fix to get path substition for wordpress demo to work
tidied up the patient portal option