Clean database while testing more frequently
Add domain, type, protocol, pre_deploy and post_deploy column to ApplicationHistory model
Add spec to test callback to call serf_request when saved ApplicationHistory
Add stub that is Thread#new to avoid test in multi thread and call status.success? stub after reset stub
Refactoring: split specs
Add applicaion parameters when deploy event
Merge branch 'feature/add-application-parameters' into develop
Add deploy status to recreate application
Duplicate Application and ApplicationHistory when duplicate system