Dev: Removing trailing white-space

- Non-functional change - just to tidy up the code styling a bit
Dev: Include row details API file

- Had split the row details out into its own file a little while back,
  since it is 100% self contained now, but hadn't committed the file!
  Here is it now.