articles model code

Added relationships to articles and categories, added basic validations and scopes to articles