manual "rebase" of master to java 8
Merge branch 'java8' of https://github.com/ivan-vasilev/neuralnetworks into java8

Conflicts:
	nn-core/build.gradle
	nn-samples/build.gradle
	nn-samples/src/test/java/com/github/neuralnetworks/MNISTTest.java