updated composer for example apps

issue #439
updated composer script event for setting permissions
updated deps
updated docs added installation from dev repo section
fixed typo in app readmes
Merge pull request #1 from yiisoft/master

update