fix #48 by detecting file type using jmimemagic Java library
add missing log4j.properties file for jmimemagic
replace jmimemagic file-type detection with reflective Java-7 API
Merge branch 'master' of git://github.com/kumarshantanu/Nightcode into kumarshantanu-master