feat(forms/scripting): angular support for form scripts

- ensure listeners are always invoked within scope.$apply()
- provide $scope variable to forms
- provide inject() function to forms

related to #CAM-2503