split dynamic framework into separate device/simulator frameworks

Closes #1163. I'll update the installation instructions once this is merged. @tgoyne @alazier
`build/` is guaranteed to exist at this point.