mark `via` as a whitelisted attribute name
remove the hardcoded id and use the primary key value
use the `via` attribute built by waterline-schema
ensure values are unique when building the cache. #253
enforce `via` parameters and use new join table structure
cleanup stray console.log