#12 Editing profile by owner

Users without permissions can't edit profiles.
Added tests.
![zrzut ekranu z 2014-08-18 14 56 05](https://cloud.githubusercontent.com/assets/6718923/3951463/fc6382e4-26d6-11e4-9b93-72ae0e82b7a0.png)