Addressing memory leak problem and changed queue

- Correct Use of new/delete and malloc/realloc/free
- Freeing the closed set, queue and the resulting path
- Added option queueIncreaseCapacity in the config structure.
Created a pre-parallel version

Created a pre-parallel version to ensure correct logic, before
impelementing on CUDA.
Pre-parallel Horse Moves

Created implementation of Horse Moves for pre-parallel. It was observed
that, in this application, we don't have much advantage on queue
processing. But, in the implementation of 8-Puzzle we can see that
there's  a big difference.
Serial and Pre-parallel 8-Puzzle

Created serial and pre-parallel implementation of 8-Puzzle.
We can see good results in terms of queue processing in respect to the
bandwidth.
Fixes

Missing update on node->children when call realloc.
Fixes....
CUDA Implementation (not tested yet)

CUDA implementation from the pre-parallel version.
IT IS NOT TESTED YET.
Implementation of AStarCUDA changed

We needed to change the implementation of the CUDA version to adapt.
Created the CUDA implementation of Horse Moves
merged master
Merge branch 'gustavo' into andrew
change Makefile