Add compile time access checks for controller and model references

@rev goliver@
@bug W-2427509@
Merging origin/dchasman/master-pending-addCompileTimeAccessChecksForControllerAndModelRefs into master