Implement "be:caret_position" document file attribute.

* Use "be:caret_position"document file attribute instead of
  "be:line" and "be:selection_{length|offset}" file attributes;
* Fixed code style violations. Thanks to Axel for pointing it out!
Support x86_64 platform in makefile-engine