Add pagination support to event list api
and show event list by page in stack detail page.
Change-Id: Ie1699b267a4ca4c33669ea2fccfd170618fc2560
Story: #1343684
Task: #18885
Redirect from the template generation page to stack list page
and open stack creation modal directly.
Referenced files of the template will be stored in a hidden
field as a json string.
Change-Id: I58e2ec4e215670463504305a01ed33a6766067f6