make array/flatten accept `level` instead of a flag

 > flags are the root of all evil!

closes #75