Merge pull request #19 from VarchukVladimir/v1

Fix some bugs, format code, mail extractor optimization
Remove O_TRUNC flag for devices
FIX Makefile
add extraction of single file from zip
format code
add extraction of single file from zip