Added support for parameterised solid & shadows and enforcing type
parameters on @RealObject annotated fields.

Closes #1396.
Attach sources when building.

Closes #1409.