Small fixes on joopl-analyzer includes

- Analyzing was failing when no includes where specified in
joopl-analyzer.json
- Includes' dependencies were added in reverse order.