added stock example embedded into external flask app

- modified app_document data for use with embedding into other servers
- modified vboxform.coffee to use mget instead of mget_obj
can use `functools.wraps` for this