Add internal name for stock locations.

Includes light refactoring of stock_locations/index.html.erb from Ryan Bigg.

Fixes #3532