cleaned up edit code
extracted code into partial from articles views
added destroy functionality, refactored error handling