Adding test directory for INCLUDES_$(d) usage
Fixing $(@RD) behaviour when TOP_BUILD_DIR is used.

Adding real_dir_to_build_dir and build_dir_to_real_dir and expressing
some dirs through it.