Unifying distance functions and removing duplicated code

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Add timestamp information to GPSPoint

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Add < operator to GPSPoint class

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Add first draft of Trajectory class

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Add first draft of TrajectoryManager and GridManager

Classes that will take care all trajectories and grids, respectively

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Add a huge implementation of the project

Now we can retrieve data from a database, for that we must have:
    - A DatabaseDecoder, that knows how to read the data returned by a query on the database
    - A DBManager class that know how to interact with the database

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Change timestamp to unsigned long

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Fix: trajectory id is a long

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Add gridSize to Config.h

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Simplify trajectoryById function

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Construct grids and add points to them

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Add GPSPoint own cpp file

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Add dump helper function (debug purposes)

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Add function to insert results as each decoder wants

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Add time slot knowledge to project

Divide time in time slices of predefined length (in time unit).
We cannot consider that every single point in the dataset will be
reported in the same interval.

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Manager now stores the points retrieved from dataset

We now are considering the time slice provided by user and storing points
in the manager class, as a map of time slices, with every key in the map having
a vector of GPSPoints as value

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Change DBManager API

There will be other "databases" types that does not deal with SQL commands

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Set warning level in project

Also add macro for unused parameters

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Add base implementation of getColumnAsDouble(String) functions

Also add getColumnAsUnsignedLong and getColumnAsInt functions

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>
Add FileDBManager

Signed-off-by: Thiago de Barros Lacerda <tbl2@cin.ufpe.br>