Adding UT for flow programming failures.
Access functions renamed as per coding guidelines
Adding validation for flow not being short flow before ksync response,
and gets converted to short flow after receiving error.
replacing usleep with WAIT_FOR in previous commit.
Merge pull request #298 from Juniper/psethi_controller

Adding UT for flow programming failures.
Merge pull request #312 from praveenkv/pkv_route_code_restructure

Access functions renamed as per coding guidelines