Add some helper functions/constructors to ArraySlice
am: d6fa4f24ea

Change-Id: I123d5a4225bc5c89c100720b3c4a7055be76f8b5