Refactor definition into resource/provider pair

- 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.
Merge pull request #159 from nhanb/yii-definition-to-resource-provider

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