Editing of manual

Move Application Program Interfaces to its own chapter

Move Python bindings from contrib section of manual to the API chapter
(The bindings code itself is still in contrib)