ViewModel implementation on TestCase entity

Added ViewModel for TestCase.
Created an abstract Common class.
Created a ToSelectList function to transform enums.
Refactor of create and edit actions for TestCase.