Port the diff function from testing into the main library
Change assembler argument handling

Make the list of arguments be keyed on position, not flag name. Move the
module loader to an argument. Remove the unneeded is_set parameter.
Fix RDP scoring algorithm