RecastDemo, removing SDL.dll from the non-msvc installation

- Adding the install target to travis script to check it.
Rename documentation target to make it more unique

- Better support for "in-submodule" build
Renaming the cmake package to RecastDetour
Making the packaging optional
Adding an optional install prefix
The initialization of dtPathFollowingParams is now divided in 2 parts.

- Unit tests for the new features
- Documentation updated
Fixing memory leaks
Merge pull request #22 from masagroup/fix/pathFollowingParam_init

The initialization of dtPathFollowingParams is now divided in 2 parts.
Adding an option ('BUILD_RECASTDETOUR_FAT_LIBRARIES') to enable the build of fat binaries on MacOS X
Remove the requirement on OpenGL and SDL as they are not if the application are not built
Modifications with the pipeline behavior.

- The method setBehaviors() now copies the references of the behaviors.
Taking feedback into account
Renaming PlatformStr.cmake to platform.cmake

- change the naming of mac platforms
- introduce the possibility of iOS build
Supporting build on iOS
Fix dtPathCorridor copy constructor

do not allocate an empty path if original objetc didn't have a path. Having a NULL m_path or a m_path of size 0 is different.
Path Following now updates both corridors.

One of the two parameters in the update method of the path following behavior did not have its corridor up to date, which caused some strange behavior in some specific situations.
Merge pull request #25 from masagroup/fix/update_both_corridor

Fix/update both corridor

One of the two parameters in the update method of the path following behavior did not have its corridor up to date, which caused some strange behavior in some specific situations.
Adding a unit test for the pipeline.

When using a container to set the pipeline and then deleting this container,  the behaviors must still be valid inside the pipeline.
Removing the proximity grid.

The proximity grid was too limitated for our needs:
- Agents cannot overlap
- Doesn't always work in a 3D environment

For now we're using a naive approach to get the neighbors of the agents.
Later on a space partitioning method will be needed.

Agents now have a perceptionDistance attribut.
Merge pull request #24 from masagroup/feature/pipelineSetBehavior

dtPipelineBehavior::setBehaviors now copies the reference

- In practice the container the behaviors come from can be destroyed once the method is called.