Avoids unnecessary share_ptr copies.
Simplify rendering order management.
- Filter polygons ASAP
- Use int for rendering order
- Move (not copy) local MapDataObjectPrimitive to vectors.
Reserve space to avoid reallocations.
Change how updated map information is added to RoutingContext.
Now the process occurs only when registering, not when accesing.
Remove code not necessary on clients of findRouteSegment.
Recover filtering using 'acceptTypes'. RETHINK & REDO.
Put GeneralRouter inline. Let compiler do their job.
Remove more copies.
Remove unnecessary code. Filtering by parameters was done on Java side.
Fix on using modified map data.
Simplify checks in 'asign'.
Help compiler to inline some calls.
FOR 1.9 SUPPORT
Fix small shifts (use double)
(cherry picked from commit 97a0752aae462dab87f2b7a67e6f3d0d0cba6390)

Conflicts:

	native/src/common2.h
	native/src/java_wrap.cpp
	native/src/rendering.cpp
Support color_3
(cherry picked from commit 90c7ed35edbde3980db8357c6ee5eb6a1ae757c8)
Support color_4
(cherry picked from commit 726330da943e3259f0978ce55dd14405837c54f4)
TO SUPPORT 1.9
Update native rendering
(cherry picked from commit 0ea70b6613fb3dd4ad16830837d4968becae019a)

Conflicts:

	native/src/java_renderRules.h
	native/src/renderRules.cpp
	native/src/renderRules.h
TO SUPPORT 1.9
Fix rendering issue
(cherry picked from commit 0fa31d9daaa82988775449558644b370302c9004)

Conflicts:

	native/src/renderRules.cpp
	native/src/renderRules.h
Fix cherry-picked commits.