Refactor yii definition into resource/provider pair (synced and added git)

- Usage stays the same (calling yii_framework block)
- Remove unnecessary files (attribute, definition, library)
- Add check if path to symlink exists. Try to mkdir if not.