Optimizations to geometry builders:

- Preallocate vectors where final capacity is known
- Cache vector sizes in local variables for iteration
Fix a bug that created 2 extra vertices in buildGeneralPolyLine
Merge pull request #34 from tangrams/prealloc

Preallocation in geometry building