Work on fixing map

Added map that works when it is the first thing loaded. If the listview is
loaded first the map centers, if the home screen is loaded first, the
center is pushed to the top left corner of the screen.
Fixing map centering on device

I was hindered by the lack of wifi in our work environment. This group of
changes works. I moved the scroll to function into the map view init
function, because otherwise it was not being run when moving between the
home and list screens. This occured, because the gMap value was
instaniated after the panTo function in the controller.
Dynamicly add all of the list items as map markers

I was able to add the list items into the map as specific map markers, by
adding a couple of for loops in the controller that found the lat/long
locations of the list items and set the markers to those coordinates.
Update map markers

I updated the map markers so that they would display an infowindow when
clicked on that shows the store name at that location. I also made it so
that only one infowindow shows at a time. There is also commented out code
in the sass formating folder that we can use to style and change the look
of the infowindows.Also removed the previous search's map markers so that
they didn't persist through different queries.
Add a button to the infowindow that has navigation

I added a button to the info window that lets the user navigate to the
detail page and view the selected vendor's items. I still need to update
the info and header sections of the detail window when navigating there
from a map marker. To do this I will need to set the toolbar in the
controller and set the detail view data to the selected vendors data.
Fix data sent to the detail page infoblock

I fixed the app so that when a button in the infowindow on the map was
pushed, the correct data for the infoblock on the detail page was updated.
Add list item selection on infowindow button click

When a button is clicked in a google maps marker infowindow, the
coresponding list item for that vendor is highlighted. We could face
problems in the future when the list is populated with products. We will
deal with that advanced functionality when we get to loading products into
the list.
Pop up infowindow corresponding to list item

When the user clicks on a list item we want the corresponding infowindow to
appear on the map. We do this so that if the viewer navigates back to the
list view from the detail page they are reminded of the last item they
viewed.
Work on variable zoom for map

I am working on fixing how the map zooms depending on the user search
input from the home page. Having problems with fitBounds() function.
Fix map zoom for multiple markers

I moved the fitBounds into the onViewGoCommand, this fixed our zoom
problem.
Fix deselect of list item on back to home page

I made it so that the list items in the list page were clear of selections
when the user navigated back to the home page. This makes it so that a selection
wouldn't persist into the user's new list after they ran a new search.
Merge pull request #28 from Free-BSG/feature-3816_infowindowNavigaion

Feature 3816 infowindow navigaion
Fix problems that keep app from working on device

I fixed our user location listener which was preventing our app from
launching on the device.
Make api calls

I made the first of our api calls to test if we could populate our drop
down lists from api.
Fix loading api data into drop lists

I made it so that we could populate the dropdown lists on the home page
with data from the api. I also fixed the number of vendors print out to
display the correct number of vendors.
Fix map lat/lng problems (API reference)

Changed the model so that long is now lng and doesn't interfear with
Sencha objects.
Fix drop down location list.

I started to make some changes to the drop down location list, by adding a
store that contained unique city names. This still needs some work, as the
store is not properly setup.
Add console.log testing of locations store

Trying to figure out how to correctly populate the location drop down
menu using the location store.
Fix locations dropdown with api data

I changed some parameters so that we could see the api data in the
locations drop down list. I need to find where I fixed the map zoom.
Rebase with new map options

I have rebased and run into two problems, one is that when the app first
starts, the map doesn't zoom to the pins untill a location is chosen.
Second when a list item is selected  and we travel back to the list, the
correct map marker is not showing.