test for issue #232: missing asterisk for derived attribute / data lost

schema has multiple inheritance where two attrs with same name are inherited
one is derived, the other isn't
stepcode complains that an asterisk was missing when it encounters the non-derived attr

this bug exposed by AP209 ATS files
Modify GetSTEPattribute() and MakeDerived() in SDAI_Application_instance

* For issue #232
* Add a new param named `entity`
* Used in generated code to ensure that the correct attr is being marked as derived.
Pass entity name to MakeDerived when called from generated code.

This prevents the wrong attr from being marked as derived (#232)
remove multiple_inheritance_derived.stp; create files at runtime
missed two macros during SCL_->SC_ rename
more entities and tests, some fail
test/p21: rewrite tests to reduce duplication
superscope is null if derived attr is declared in this entity
use pass/fail for instance_test, rather than false/true

* instance_test was formerly single_instance_test
* add another instance for AABB, using external mapping
doxify a comment that looks important, also copied to sc wiki
add todo
print debugging info
add (commented out) ParseTrace function for lemon parser debugging
print_attrs.c: comment functions, check a few more things in the attr