updated encoding on UTF-8 (platform-independent) and build settings (explicit java version declaration)

Updated encoding on UTF-8: the added configuration is platform-independent and fixed on UTF-8, in order to avoid problem with platform-dependent encoding.

Updated the build settings with explicit java version declaration (to java 1.7), and encoding declaration.