add function to parse ack/ag arguments

Parse ack/ag arguments and store it in 's:ackprg_options'.