Various scalarapi updates

Add reverse index sorting to node.getRelations, capture parent_uri
variable, update relation ids to ignore version numbers, simplify
relation date parsing