Redirect to the current page after edited instance

When the instances is paginated in multiple pages, if we edit an
instance not in the first page, after successful editting the instance
it will redirect to the first page and not to current one.

Change-Id: Iacfade81de0e3f5c225e17ec3a34ce7712e4ad6d
Closes-bug: 1353870
Merge "Redirect to the current page after edited instance"