added infrastructure for early stop
Merge branch 'master' of github.com:andrewdanks/JuliaNet