added paramter for tags_controller.rb

added getAllMediaSortedByTime() for media model
Integrated feed.
Now redirects to created media.
Added more queries to media model
Finished most of the integration.
Added comments
Commenting and repo clean up.
Fixed a typo.
Merge remote-tracking branch 'remotes/origin/Integration_test'

Conflicts:
	app/models/media_type.rb
	app/models/medium.rb
	app/models/tag.rb
	app/models/tag_instance.rb
	db/schema.rb
Minor bug fixes and fixed merge issue.