Atomizing the method getInfoAboutRoute
Reducing the complexity of the method 'getCoordinatesFromRoute'
Reducing complexity of sliceRoute() method and applying corrections in google_maps_api script
Applying corrections do reduce complexity of google_maps_api.js
Merge branch 'reducing_complexity' of https://github.com/rodrigo14/pe-na-estrada into refactoring_js

Conflicts:
	app/assets/javascripts/google_maps_api.js
Removing code duplicated and unused variables
Added heatmap layer with non-significant data
Added heatmap layer with non-significant data

Signed-off-by: Rodrigo Gonçalves <rodrigosg2000@gmail.com>
Merge branch 'heatmap' of https://github.com/rodrigo14/pe-na-estrada into heatmap
Google Maps API reconfigured to Portuguese and 'geometry' library added
Adding the button that removes the accident sinalization
Working heatmap with route data

Signed-off-by: Emilie Morais <emilie.mo@hotmail.com>
Added heatmap configurations and better redistribution of the route patchs

Signed-off-by: Tiago Assuncao <thiagoribeironiquel@hotmail.com>
Applying corrections in the Google maps API
Signed-off-by: Italo Paiva <italosensei@hotmail.com>
Modularizing the google_maps_api file
Configuring JS tests environment

Signed-off-by: Tiago Assuncao <thiagoribeironiquel@hotmail.com>
Testing JS, method: calculateRemainingSteps
Testing JS method: calculateStepsPerPatch
Adding the function heatmap in the button.
Correcting the count of accidents per patch