fix off-by-one error in orbit.model find_by conditions
Add new test script for reference manual examples
Merge pull request #29 from kognix/patch-5

Add new test script for reference manual examples
General formatting changes.

Taking care of indents (2 spaces) and general formatting of script.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>