Chore/refactor location pin to js mvc

Add javascript app initializer javascript to initialize controllers for Map, Trip, Post, LocationPin
Refactor LocationPin for OOJS / JS MVC design patterns
- LocationPin#index returns JSON to an AJAX request
- Add JS LocationPin model

Move `before_action :validate_user` from AppController to individual controllers for clarity.