some indexes skipped, trails table altered

creation of some indexes was failing and I found them unnecessary for my
usage
pk renamed, other columns defined more accurately
refactoring

mainly whitespace and some parentheses, removed setter and getter for
oldAttributes
more whitespace refactoring
propagate afterSave() when no changes was made
widened trails table columns