added stuff to article model

i made an article model and added scopes and basic validations.