Added c++1y flag to makefiles to support upcoming diffshield code
Added core legacy difficulty functionality to diffshield