Implemented applicant editing method

Implemented applicant editing controller method, related tests, service and DAO
please reformat code, make it more readable.