Made view variables consistent

The views used the local apiInfo in two ways:
1. As an array of api configuration information
2. As an item from this array

Separated these two concerns.  Now views have
allApis for the array and apiInfo when an api is selected