Unix: Fix FD leaks and Windows compatibility
Unix: Add @shell command
Clarify help text for !shell

I should stop using @, poor @shell getting notified by commits
irrelevant to his interests. :P

[skip ci]
Merge pull request #562 from nyuszika7h/unix-patches

Patches for Unix plugin