DB changes for issue 215

This adds the `study_id` column to the `analysis_samples` table as discussed in issue #215. This also adds the two columns to the analysis_filepath table that were discussed in the Tuesday meeting. All objects and test data are also updated to reflect these added columns.
This actually does make them equal samples. It's an accessory function to wipe out the current samples for analysis 2 and make them equal to analysis 1. It's used to test the `equals` function.