Fix #250 by making the discard button act the same as the back button.
Merge branch 'master' of https://github.com/foam-framework/foam
Fix calling order of sink.put versus sink.eof in IDBDAO.
Also update the hash map in MDAO on remove.
Fix #252.  Sync manager now only updates known issues, and will clear the cache if the last modified date is too old.
Merge branch 'master' of https://github.com/foam-framework/foam