Moves more into bricking_utils

Moves more logic from get/put values into bricking_utils.  Adds get_value_slice_nd and get_brick_slice_nd

Renames calc_value_slice -> calc_value_slice_1d and calc_brick_slice -> calc_brick_slice_1d.
Applies PEP8 formatting