Improving API docs.
 * Made shell script work from it's project location.
 * Fixed problem that made API-index.md generate wrong relative paths.
 * Allowed classes to detect wether it has own properties and methods and inherited ones.
 * Chose better header usage.