* Remove bash scripts and start mailnag python scripts directly
- Prevents duplicate process names
- Fixes missing app icon in taskmanager
* Remove background startup functionality
- Should be handled by modern init systems like systemd
(see new-style-daemon: http://www.freedesktop.org/software/systemd/man/daemon.html)
- Enables program termination via CTRL+C when running mailnag in a terminal
- Doesn't hide the commandline prompt when running with options like --help (reported in issue #87)
- Fixes wrapping issues in the log output
* Rename mailnagd into mailnag again
* Remove --backround option
* Fix and reorder module imports
* setup.py: patch BIN_DIR in dist_cfg
* Replace unreliable connectivity test by configurable ConnectivityTest
class
* Move connectivity check from main into MailnagDaemon
(does no longer block if another instance tries to shutdown Mailnag)
* Fix crash occuring on failing Idler reconnect
* Log warning instead of error if no internet connection is available
fixed imap idle implementation (reuse open imap connections and don't poll unaffected accounts)
reconnect if a connection has been lost (e.g. after standby)
moved connection check from startup script to mailnag.py
removed unused/unnecessary code
refactoring, fixed exception handling