Fred attack utils: new function is_acceptable_attack()

Move check whether an attack is acceptable into a function, as it is
called from two places in Fred.  Also improve its return value compared
to the old method.
Update changelog
Bump version to 0.13.1
Post release version bump to 1.13.1+dev