Representation Theory of Diagram Algebras: Subalgebras and Generalisations of the Partition Algebra