Reorganize dependencies

1. Stop using submodule
2. Move dependency of darts.hh from header to source
3. Fix warning of rapidjson