Udpated PermitBLL

Udpated PermitBLL.CreateApplication and Rollback and update stored
procedure Permit_GetNextSequence