strip string properties in ag/dwim-at-point

If the point is on read-only text, ag/dwim-at-point would preserve
those text properties when copying the text to the minibuffer. So, you
wouldn't be able to edit the text in the minibuffer.
refactoring nesting if as cond
version bump
fixing typo