Fix issues with CR/LF and update gitignore for *nix

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Merge pull request #23 from alexxy/master

Fix CR/LF and update gitignore