added: IiApi.js for api_controller.
fix: added opt_validTypes param to common/ActionQueue.js and
adapted LangFieldColSizeCalculator, LangFieldRowOptimizer to it. and index.html.erb.