Fix apps dir parsing, improve single-tier model parsing, improve tag replacement for single models
Add DocumentJS doc blocks to app generator