include directive fixes

- correct path calculation in Opal
- raise IOError on 404 response in Opal
- print message in document when include is not resolved
- chomp endlines from template result when running in Opal