Merge pull request #740 from bobvandevijver/master

Removed unused code which generates PHP warnings
add preBindRequest($model) in indexAction of EditController and NewController
Merge pull request #742 from robertfausk/master

add preBindRequest($model) in indexAction of EditController and NewController