Added configurable default value to Hash::get()

See pull #2262