some bug fixes in remove short and check_outfile

added goal constraints for max_margin
made approriate changes in rope_qlearn to use these constraints

tested ./rope_qlearn bellman-test and constraint build/model create/model optimize pipeline for a single trajectory
Merge branch 'master' of https://github.com/erictzeng/reinforcement-lfd