add ClassDependencyGraph for riml_include reordering

TODO:

* make it work with `riml_import`

* make Parser.ast_cache thread-safe
get riml_include reordering to work with riml_import

Also, add "--no-include-reordering" option to turn off this feature.

still TODO:

* make Parser.ast_cache thread-safe

* test feature some more