Improved how documentation is organized

1. Integrated devdocs to the main doc.
2. Explicitly add image substitutions in the relevant files.
3. Use image folder symlink rather than complicated rst
   substitutions.
4. Replaced Bitbucket references with Github ones.