gui2/tgamestate_inspector: Include array subscripts for WML array elements
gui2/tgamestate_inspector: Only display N/M page indicators when M > 1

It's not too common for WML containers to be exceed the 20000 characters
limit, so avoid displaying them with "1/1" page labels.
Rename animated.i to animated.tpp

The .i extension causes problems with CodeBlocks.