move language scripts to script/lang and shared modules to script/shared
rename build/app_middleware to build/app
remove bogus build/services.rb
add Deprecation
Add sexp layer and specs, remove old specs, fix specs

This is in intermediate commit so I'll be able to put things down and
come back to this later.

* port addon refactorings
* port deploy refactoring
* port directory_cache refactoring
* double check shared modules jdk, jvm, rvm etc.
* go over all spec changes in master since branching off, and port them
* give it another cleanup run to see if there's still inconsistent use
  of, e.g., export statements being echoed or not etc.
* port exporting and uploading examples